logger object
This method will add an entry to a log.
void add_entry(string the_entry)
Parameters:
the_entry
The text to add as an entry.
Return value:
None.
Remarks:
If the date_all_entries property is set to true, it will use the combination date_format+": "+the_entry to add the text, replacing all the date controllers into actual date and time components.
Example:
//add some text to a log.
#include "logger.bgt"
logger test;
void main()
{
test.add_entry("text1");
test.write("test.log", true);
}